package com.lanchetech.dao;

import com.lanchetech.bean.request.UserCelebrityReq;
import com.lanchetech.bean.vo.UserCelebrityVo;
import com.lanchetech.entity.UserCelebrity;
import org.apache.ibatis.annotations.Param;
import org.mapstruct.Mapper;

import java.util.List;

/**
 *
 */
@Mapper
public interface UserCelebrityMapper {


    void insert(UserCelebrity userCelebrity);

    List<UserCelebrityVo> celebrityList(UserCelebrityReq req);

    void updateStatusById(@Param("id") Long id, @Param("status") Byte status, @Param("remark") String remark);

    UserCelebrity getByUserId(Long id);

    UserCelebrity getById(Long id);
}
